package com.zenithsun.news.newsreview.dao;

import java.util.List;

import com.zenithsun.common.dao.NativeSQLDao;
import com.zenithsun.news.newsreview.model.NewsReview;

public interface NewsReviewDAO extends NativeSQLDao<NewsReview> {

	/**
	 * 分页查询新闻审核记录信息
	 * @param pageNo
	 * @param pageSize
	 * @param searchCondition 查询条件
	 * @return List<NewsReview>
	 * @throws Exception
	 */
	public List<NewsReview> listNewsReview(int pageNo, int pageSize, NewsReview searchCondition) throws Exception;
	
	/**
	 * 根据条件查询数量
	 * @param searchCondition
	 * @return int
	 * @throws Exception
	 */
	public int countNewsReview(NewsReview searchCondition) throws Exception;
	
	/**
	 * 通过审核ID查询新闻审核信息
	 * @param revId
	 * @return
	 * @throws Exception
	 */
	public NewsReview findNewsReview(String revId) throws Exception;
}
